package com.atguigu.mall.product.feign;

import com.atguigu.common.to.SkuHasStockVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("mall-ware")
public interface WareFeignSevice {
    @PostMapping("/ware/waresku/hasStock")
    List<SkuHasStockVO> getSkusHasStock(@RequestBody List<Long> skus);
}
